FROM centos:7
# dmdbms.tar.gz 为 centos提前安装并初始化后的数据库文件
# ADD ./dmdbms.tar.gz /data
VOLUME /data/dmdbms
WORKDIR /data/dmdbms/bin
EXPOSE 5236
ENTRYPOINT [ "/data/dmdbms/bin/dmserver","path=/data/dmdbms/data/DMSERVER/dm.ini"]

# docker build -t centos7-dm7.6 .
# docker run -d --name dm7.6 -p 5236:5236 -v /data/dmdbms:/data/dmdbms centos7-dm7.6 && docker logs -f -t dm7.6
# ========== 连接 ==========
# 主机名：xxx.xxx.xxx.xxx
# 端口：5236
# 用户名：SYSDBA
# 密码：SYSDBA
# ==========================
# xx\dmdbms\bin\disql SYSDBA/SYSDBA@192.168.56.106:5236
